<template>
  <div>
    <mt-swipe :auto="4000">
        <mt-swipe-item v-for="item in lunboList" :key='item.id'>
            <img v-if="item.img" :src="item.img" class="imgHeight">
            <img v-else :src="item.src">
        </mt-swipe-item>
    </mt-swipe>
  </div>
</template>
<script>
export default {
  data() {
    return {
      
    };
  },
  props:['lunboList']
}
</script>
<style lang="scss" scoped>
.mint-swipe{
    height: 200px;
    .mint-swipe-item{
      img{
        height: 100%;
      }
      .imgHeight{
        width: 100%;
      }
    }
  }
</style>